package com.woniu.gateway.service;

import com.woniu.gateway.util.ResultVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 验证token所需接口
 */
@FeignClient("house-auth")
public interface IAuthService {
    @PostMapping(value = "users/check")
    public ResultVO check(@RequestBody String token);
}
